import request from '../api'

const URL = '/systemInfo'

export function getSystemInfoByPage(systemInfoDto){
    return request.post(URL+'/getSystemInfoByPage',systemInfoDto)
}

export function deleteSystemInfoById(id){
    return request.delete(URL+`/deleteSystemInfoById/${id}`)
}

export function getSystemInfoById(id){
    return request.get(URL+`/getSystemInfoById/${id}`)
}
export function addSystemInfo(systemInfo){
    return request.post(URL+`/addSystemInfo`,systemInfo)
}
export function modifySystemInfoById(systemInfo){
    return request.put(URL+`/modifySystemInfoById`,systemInfo)
}
export function getSystemsBySystemId(id){
    return request.get(URL+`/getSystemsBySystemId/${id}`)
}